<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="{$siteConfigs->getProperty('keywords')}"/>
<meta name="description" content="{$pageName},{$siteConfigs->getProperty('description')} "/>
<meta name="Robots" content="index,all"/>
<meta name = "format-detection" content = "telephone=no">
<title>{$pageName} - VietCad</title>
<link href="{$ROOTPATH}/templates/{$usertemplate}/css/jquery-ui-1.8.20.custom.css" rel="stylesheet">
<link rel="stylesheet" href="{$ROOTPATH}/templates/{$usertemplate}/css/style.css" type="text/css" />
<link rel="stylesheet" href="{$ROOTPATH}/templates/{$usertemplate}/css/nivo-slider.css" type="text/css" media="screen" />
<link rel="stylesheet" href="{$ROOTPATH}/templates/{$usertemplate}/css/style-banner.css" type="text/css" media="screen" />
<script type="text/javascript" src="{$ROOTPATH}/templates/{$usertemplate}/js/danhmuc-menu-jquery.js"></script>
<script src="{$ROOTPATH}/templates/{$usertemplate}/js/jquery-1.4.3.min.js"></script>
<script src="{$ROOTPATH}/templates/{$usertemplate}/js/jquery-ui-1.8.20.custom.min.js"></script>
<script src="{$ROOTPATH}/templates/{$usertemplate}/js/jquery-1.js" type="text/javascript"></script>
<!--slider-sp-chinh--><script src="{$ROOTPATH}/templates/{$usertemplate}/js/jcarousellite_1.0.1.pack-hot.js " type="text/javascript"></script>
<!--slider-sp-chinh--><script src="{$ROOTPATH}/templates/{$usertemplate}/js/call_jcarousel-hot.js" type="text/javascript"></script>
<script type="text/javascript" src="{$ROOTPATH}/templates/{$usertemplate}/js/jquery.nivo.slider.pack.js"></script>
<script type="text/javascript" src="{$ROOTPATH}/templates/{$usertemplate}/js/jquery.vietcad.js"></script>
<script language="javascript" src="{$ROOTPATH}/templates/{$usertemplate}/highslide/highslide-full.js"></script>
<link rel="stylesheet" type="text/css" href="{$ROOTPATH}/templates/{$usertemplate}/highslide/highslide.css" />
{literal}
<script language="javascript">
hs.graphicsDir = '/vietcad/templates/vietcad/highslide/graphics/';
hs.align = 'center';
hs.transitions = ['expand', 'crossfade'];
hs.outlineType = 'rounded-white';
hs.showCredits = false;
hs.wrapperClassName = 'draggable-header';
hs.fadeInOut = true;
hs.dimmingOpacity = 0.75;
hs.addSlideshow({	
	interval: 5000,
	repeat: false,
	useControls: true,
	fixedControls: 'fit',
	overlayOptions: {
		opacity: 0.75,
		position: 'bottom center',
		hideOnMouseOut: true
	}
});
</script>
{/literal}
</head>

<body>
<div class="container1">
	<div class="nen_header"></div> 
    	<div class="content" >
            <div class="header" >
             <div class="menu_header" align="right">
                <ul >
                        <li><a href="{$ROOTPATH}/index.html">Trang Chủ</a></li>
                        <li class="cachmenu_header"></li>
                        <li><a href="{$ROOTPATH}/gioi-thieu.html">Giới Thiệu</a></li>
                        <li class="cachmenu_header"></li>
                        <li><a href="{$ROOTPATH}/bang-gia-viet-cad.html">Bảng Giá</a></li>
                        <li class="cachmenu_header"></li>
                        <li><a href="{$ROOTPATH}/lien-he.html">Liên Hệ</a></li>
                </ul>
                </div>
            </div>
                    <img src="{$ROOTPATH}/templates/{$usertemplate}/images/logan.png" align="left" />
                    <img src="{$ROOTPATH}/templates/{$usertemplate}/images/qc_header.png" align="right" />
            <div class="menu1">
                {if $authUser}
                <div class="infoUser">
                    <span>Xin chào, {$authUser->getUsername()} &nbsp;&nbsp;| </span>
                    <a href="{$ROOTPATH}/logout.html">
                        Thoát
                    </a> 
                </div>
                {else}
                <a href="{$ROOTPATH}/dang-ky.html">
                    <img src="{$ROOTPATH}/templates/{$usertemplate}/images/dangky.png" />&nbsp;&nbsp;Đăng ký
                </a>
                <a href="#" id="dangnhap">
                    <img src="{$ROOTPATH}/templates/{$usertemplate}/images/dangnhap.png" />&nbsp;&nbsp;Đăng nhập
                </a>
                {/if}
                <a href="{$ROOTPATH}/index.php?op=shopping&lang=vn">
                    <img src="{$ROOTPATH}/templates/{$usertemplate}/images/giohang.png" />
                    &nbsp;&nbsp;{$messages.cart}{if $count_item neq 0}({$count_item}){/if}
                </a>
                <form style=" float:left; margin-top:4px;" 
                      action="{$ROOTPATH}/index.php" method="post" name="quicksearch">
                    <input type="text" id="txttim" name="keywords" value=""   />
                    <input id="btntim" type="submit" value="" />
                    <input type="hidden" value="search" name="op">
                </form>
            </div>
       		<div class="menu-top">
            <ul>
                <li {if $active eq 'san-pham'}class="active"{/if}><a href="{$ROOTPATH}/san-pham.html"><span>SẢN PHẨM</span></a>
                {if $productcateItems}
                	<ul>
                    {foreach from=$productcateItems item=productcateItem}
                     	<li><a href="{$productcateItem->getUrl($lang)}">{$productcateItem->getName()}</a>
                        </li>
                     {/foreach}

                     </ul>
                {/if}
                </li>
                <li class="cachmenu2"></li>
                {if $productcateItems}
                {foreach from=$productcateItems key=i item=productcateItem}
                 {assign var='pid' value=$productcateItem->getId()}
                <li {if $active eq $pid}class="active"{/if}><a href="{$productcateItem->getUrl($lang)}" title="{$productcateItem->getName()}"><span>{$productcateItem->getName()}</span></a>
               
             	{assign var='subProductCate value=$productcategories->getSubProCategory($pid)}
                                
                	{if $subProductCate}
                	<ul>
                    {foreach from=$subProductCate item=legoItem}
                     	<li><a href="{$legoItem->getUrl($lang)}">{$legoItem->getName()}</a>
                        </li>
                     {/foreach}

                     </ul>
                	{/if}
                </li>
                <li class="cachmenu2"></li>
                {/foreach}
                {/if}

                <li><a href="#"><span>FORUM</span></a>
                <li class="cachmenu2"></li>
                <li><a href="#"><span>TÀI LIỆU</span></a>
                {if $downloadAlbumItems}
                	<ul>
                    {foreach from=$downloadAlbumItems item=downloadAlbumItem}
                     	<li><a href="{$downloadAlbumItem->getUrlGalleryAlbum($lang)}">{$downloadAlbumItem->getName()}</a>
                        </li>
                     {/foreach}

                     </ul>
                {/if}
                
            </ul>
        </div>
        
     </div>
    <div class="khung_js" style="visibility: visible; overflow: hidden; position: relative; z-index: 2; left: 0px;">
    			<div id="zalen">
                 {if $adsItems}
                 
                        <div id="slider-wrapper">
                            <div id="slider" class="nivoSlider" >
                             {foreach from=$adsItems item=adsItem}
                                <a href="http://{$adsItem->getUrl()}"><img src="{$ROOTPATH}/gallery/avatar_upload/ads/storage/{$adsItem->getLogoUrl()}" alt="" /></a>
                            {/foreach}   
                           </div>
                           {literal}
                           <script type="text/javascript">
                       		 $(window).load(function() {
                           		 $('#slider').nivoSlider({
								//controlNav: false,
								//directionNav: false
								});
                        	});
                    	</script>
                    {/literal}
                    
                        </div>  
                  {/if} 
                                           
                    </div>
        </div>
       
   <div class="cachcontent"></div>
</div>
<div class="container">